package com.secondkill.dao;

import com.secondkill.entity.MiaoshaGoods;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created by zhangkai12 on 2018/7/9.
 */
@Mapper
public interface MiaoshaGoodsMapper {

    @Insert("insert into miaosha_goods (goods_id, start_date, end_date, stock_count) values (#{goodsId}, #{startDate}, #{endDate}, #{stockCount})")
    public void insertMiaoShaGoods(MiaoshaGoods miaoshaGoods);
}
